import request from '@/utils/request'

export function getNotDisposedList(query) {
    return request({
        url: '/lims/sample/handle/list',
        method: 'get',
        params: query
    })
}

export function getDisposedList(query) {
    return request({
        url: '/lims/sample/handle/finish/list',
        method: 'get',
        params: query
    })
}

export function getRetentionViewList(query) {
    return request({
        url: '/lims/sample/handle/finish/list',
        method: 'get',
        params: query
    })
}

// 处置按钮查询
export function handleForm(sfIds) {
    return request({
        url: '/lims/sample/handle/' + sfIds,
        method: 'get',
    })
}

// 超期处置保存
export function saveBatchHandle(query) {
    return request({
        url: '/lims/sample/handle',
        method: 'post',
        data: query
    })
}
